package com.jlee.android.pimclient.receiver;

import com.jlee.android.pimclient.PIMClientConstant;

import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class PIMClientServiceStarter extends BroadcastReceiver {
	@Override
	public void onReceive(Context context, Intent intent) {
		Log.i(PIMClientConstant.TAG, "Received system boot complete.");
		
		Intent i = new Intent();
		i.setComponent(new ComponentName(
				"com.jlee.android.pimclient", 
				"com.jlee.android.pimclient.service.PIMClientService"));
		context.startService(i);
	}

}
